package com.ks.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ks.common.PageResult;
import com.ks.vo.ReceiveVO;
import com.ks.dto.MetricDataDTO;
import com.ks.dto.PageQueryDTO;
import com.ks.entity.MetricData;
import com.ks.vo.MetricDataVO;
import com.ks.vo.RequestVO;

import java.util.List;

public interface MetricDataService extends IService<MetricData> {
    ReceiveVO dealMonitorData(List<MetricDataDTO> metricDataDTOList);

    PageResult pageMetricData(PageQueryDTO pageQueryDTO);

    PageResult pageChartData(PageQueryDTO pageQueryDTO, String metric);

    List<MetricDataVO> queryMetricDataByTime(RequestVO receiveVO);
}
